<!DOCTYPE html>
<%@page contentType="text/html;charset=UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="EF" uri="/WEB-INF/framework/tlds/EF-2.0.tld" %>
<%
    String actionUrl = request.getContextPath() + "/DispatchAction.do";
%>
<html>
<EF:EFHead includeDefault="true">
<script type="text/javascript" src="./ZM/zm.js"></script>
<style type="text/css"> 
.ef-layout-vertical-middle:before {
     float:left;
} </style>
</EF:EFHead>
<EF:EFBody bodyClass="bodyBackground">
	<EF:EFForm id="ZMCSF1" method="POST" action="<%=actionUrl%>">
			<EF:EFInput ename="fdMiningId" type="hidden" cname="矿ID"/>
			<EF:EFInput ename="fdMiningName" type="hidden" cname="矿名"/>
			<EF:EFInput type="hidden" ename="parentTypes" cname="大类"/>
			<EF:EFInput type="hidden" ename="childTypes" cname="小类"/>
			<EF:EFInput type="hidden" ename="engineeringNoType" cname="编号形式"/>
            <div id="ef_region_inqu" title="查询条件" efRegionShowClear=true>
                <div style="overflow:hidden;width:100%"> 
                    <div class="row-fluid"> 
						<div class="span4">
							<EF:EFInput blockId="inqu_status" row="0" type="text" ename="fdNo" cname="工程编号：" etc=" style='width:133px'"/>
						</div>
						<div class="span4">
							<EF:EFInput blockId="inqu_status" row="0" type="text" ename="fdName" cname="工程名称：" etc=" style='width:133px'"/>
						</div>
						<div class="span4">
							<EF:EFSelect blockId="inqu_status" row="0" ename="fdStatus" cname="工程状态：" etc=" style='width:133px'">
								<EF:EFOptions blockId="cmes.cs.engineeringStatus" labelColumn="display" valueColumn="value"></EF:EFOptions>
							</EF:EFSelect>
						</div>
					</div>
					<div class="row-fluid"> 
						<div class="span4">
							<EF:EFSelect blockId="inqu_status" row="0" ename="fdIsKeyProjects" cname="重点工程：" etc=" style='width:133px'">
								<EF:EFOptions blockId="cmes.cs.keyProject" labelColumn="display" valueColumn="value"></EF:EFOptions>
							</EF:EFSelect>
						</div>
						<div class="span4">
							<EF:EFSelect blockId="inqu_status" row="0" ename="fdClass" cname="工程类别：" etc=" style='width:133px'">
								<EF:EFOptions blockId="cmes.cs.engineeringClass" labelColumn="value" valueColumn="value"></EF:EFOptions>
							</EF:EFSelect>
						</div>
						<%-- <div class="span4">
							<EF:EFSelect blockId="inqu_status" row="0" ename="fdCapitalSource" cname="专项资金类型" etc=" ">
								<EF:EFOptions blockId="cmes.cs.specialFund" labelColumn="display" valueColumn="value"></EF:EFOptions>
							</EF:EFSelect>
						</div> --%>
					</div>
                </div>
            </div>
      		<div id="ef_region_result" title="工程数据" style="overflow:scroll;">
                <div id="ef_grid_r" style="overflow: hidden;"></div>
            </div>
            <EF:EFRegion/> 
			<EF:EFGrid blockId="result" paintId="ef_grid_r" serviceName="ZMCS81" queryMethod="query" autoDraw="no" ajax="true">	
				<EF:EFColumn ename="fdKeyId" cname="主键" visible="hidden"></EF:EFColumn>
				<EF:EFComboColumn ename="fdStatus" cname="*工程状态" blockName="cmes.cs.engineeringStatus" labelProperty="display" nullable="false" align="center" valueProperty="value" enable="false"></EF:EFComboColumn> 
				<EF:EFComboColumn ename="fdClass" cname="*工程类别" blockName="cmes.cs.engineeringClass" labelProperty="display" nullable="false" valueProperty="display" align="center" ></EF:EFComboColumn> 
				<%--<EF:EFComboColumn ename="fdType" cname="工程类型" width="80" blockName="cmes.cs.engineeringType" labelProperty="display" nullable="false" valueProperty="value" align="center" enable="false"></EF:EFComboColumn>--%>
				<EF:EFComboColumn ename="fdIsKeyProjects" cname="重点工程" blockName="cmes.cs.keyProject" labelProperty="display" valueProperty="value" align="center"></EF:EFComboColumn>
				
				<EF:EFColumn ename="fdParentTable" cname="父类表名称" enable="false" visible="false"></EF:EFColumn>
				<EF:EFColumn ename="fdNo" cname="*工程编号" validateRegex="/^[A-Za-z0-9_\-*]{1,30}$/" validateErrorPrompt="输入1~30个字符，包括字母、数字、下划线、连接符、星号" nullable="false" align="center"></EF:EFColumn>
				<EF:EFColumn ename="fdName" cname="*工程名称" validateRegex="/^\S{1,50}$/" validateErrorPrompt="输入1~50个字符，不能输入空格"  nullable="false" align="center"></EF:EFColumn>
				<EF:EFColumn ename="fdAbbreviation" cname="*工程简称" validateRegex="/^\S{1,25}$/" validateErrorPrompt="输入1~25个字符，不能输入空格"  nullable="false" align="center"></EF:EFColumn>
				<EF:EFComboColumn ename="fdParentId" cname="*工程所属" blockName="cmes.cs.engineeringParentId" labelProperty="display" valueProperty="value" nullable="false" align="center"></EF:EFComboColumn>
				<EF:EFColumn ename="fdProjectPlace" cname="*施工地点" validateRegex="/^.{1,100}$/" validateErrorPrompt="输入1~100个字符"  nullable="false" align="center"></EF:EFColumn>
				<EF:EFColumn ename="fdPlanAmount" cname="*设计工程量" validateRegex="/((^\d{1,8}$)|(^\d{1,8}\.\d{0,4}$)|(^0\.\d{0,4}$))/" validateErrorPrompt="输入整数位不超过8位，小数位不超过4位的数字" align="center"></EF:EFColumn>
				<EF:EFComboColumn ename="fdUnit" cname="*工程量单位" blockName="cmes.cs.units" labelProperty="display" nullable="false" valueProperty="value" align="center"></EF:EFComboColumn>
				<EF:EFComboColumn ename="fdDepartmentId" cname="施工部门" blockName="cmes.cp.department" labelProperty="orgName" valueProperty="orgCode" align="center"></EF:EFComboColumn>
				<EF:EFColumn ename="fdPlanBeginDate" cname="计划开工日期" dateFormat="yyyy-MM-dd" editType="date" align="center" ></EF:EFColumn>
				<EF:EFColumn ename="fdPlanEndDate" cname="计划竣工日期" dateFormat="yyyy-MM-dd" editType="date" align="center"></EF:EFColumn>
				<%-- <EF:EFComboColumn ename="fdGroupsId" cname="所属工程组" blockName="cmes.cs.engineeringGroup" labelProperty="display" valueProperty="value" ></EF:EFComboColumn> --%>
<%-- 				<EF:EFColumn ename="fdBeginDate" cname="实际开工日期" dateFormat="yyyy-MM-dd" editType="date" align="center"></EF:EFColumn>
				<EF:EFColumn ename="fdEndDate" cname="实际竣工日期" dateFormat="yyyy-MM-dd" editType="date" align="center"></EF:EFColumn>
 --%>				<%-- <EF:EFComboColumn ename="fdCapitalSource" cname="专项资金类型" blockName="cmes.cs.specialFund" labelProperty="display" valueProperty="value" ></EF:EFComboColumn> --%>
				<%-- <EF:EFColumn ename="fdContent" cname="工程内容" validateRegex="/^.{0,250}$/" validateErrorPrompt="输入0~250个字符" ></EF:EFColumn> --%>
				<EF:EFColumn ename="fdRemarks" cname="备注" validateRegex="/^.{0,250}$/" validateErrorPrompt="输入0~250个字符" align="center"></EF:EFColumn>
			</EF:EFGrid>
	</EF:EFForm>
</EF:EFBody>
</html> 